/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ar.edu.unicen.twitter.suggest.backend.recommendation.CompararUsuarios;

import ar.edu.unicen.twitter.suggest.commons.dtos.Usuario;

/**
 *
 * @author Marcio
 */
public class InvertirComparar extends CompararUsuarios{
    CompararUsuarios comparador;

    public InvertirComparar(CompararUsuarios comparador){
        this.comparador=comparador;
    }
    @Override
    public int compare(Usuario u1, Usuario u2) {
        return comparador.compare(u2,u1);
    }
}
